package com.lczc.soa.service;

import com.lczc.soa.domain.Door;
import com.lczc.soa.domain.SearchDoorResponse;
import java.util.List;

public interface DoorService {

    int saveDoor(Door door);

    SearchDoorResponse findAllDoor(Integer pageNum, Integer pageSize);

    Door findDoorByPrimaryKey(String id);

    int deleteDoor(String id);

    SearchDoorResponse findDoorLikeDoorNumber(String keywords, Integer pageNum, Integer pageSize);

    List<Door> listDoor();

    List<Door> findDoorByStreet(String id);
}
